UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The ESXi host must not be configured to override virtual machine (VM) logger settings.


Overview

Finding ID Version Rule ID IA Controls Severity
V-258792 ESXI-80-000237 SV-258792r959010_rule Medium
Description
Each VM on an ESXi host runs in its own "vmx" process. Upon creation, a vmx process will look in two locations for configuration items, the ESXi host itself and the per-vm *.vmx file in the VM storage path on the datastore. The settings on the ESXi host are read first and take precedence over settings in the *.vmx file. This can be a convenient way to set a setting in one place and have it apply to all VMs running on that host. The difficulty is in managing those settings and determining the effective state. Since managing per-VM vmx settings can be fully automated and customized while the ESXi setting cannot be easily queried, the ESXi configuration must not be used.
STIG Date
VMware vSphere 8.0 ESXi Security Technical Implementation Guide 2024-07-11

Details

Check Text ( C-62532r933435_chk )
From an ESXi shell, run the following command:

# grep "^vmx\.log" /etc/vmware/config

If the command produces any output, this is a finding.
Fix Text (F-62441r933436_fix)
From an ESXi shell, run the following commands:

# cp /etc/vmware/config /etc/vmware/config.bak
# grep -v "^vmx\.log" /etc/vmware/config.bak>/etc/vmware/config